﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Log.aspx.cs" Inherits="BEGDC.CC.Web.Workflow.Dialog.Log" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register Src="~/Common/VelaPagerI.ascx" TagName="VelaPager" TagPrefix="uc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>EZVisit Application Log</title>
    <link href="../../css/global.css" type="text/css" rel="stylesheet" />
    <link href="../../css/style.css" type="text/css" rel="stylesheet" />
    <style type="text/css">
        .thead a
        {
            color: #fff;
        }
        .ev-header-section
        {
            height: 28px;
            margin: 0;
            padding: 2px 2px 2px 25px;
            background: #e5defb url('../images/item.gif') no-repeat 3px 4px;
            border-bottom: solid 1px #eee;
            color: #3a3a3a;
            line-height: 28px;
            font-size: 12px;
        }
    </style>
</head>
<body style="background: none">
    <h3 class="ev-header-section">
        &nbsp;EZVISIT APPLICATION LOG 申请日志</h3>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <telerik:RadGrid ID="rgLog" OnSortCommand="rgLog_OnSortCommand" runat="server" AllowPaging="True" AllowSorting="true" Width="97%"
        EnableEmbeddedSkins="false" AutoGenerateColumns="False" GridLines="both">
        <PagerStyle AlwaysVisible="false" />
        <MasterTableView AutoGenerateColumns="False" Width="100%" NoMasterRecordsText="no records" BorderWidth="1" CssClass="tablestyle">
            <HeaderStyle CssClass="thead" />
            <ItemStyle CssClass="tbody trpurplebg" />
            <AlternatingItemStyle CssClass="tbody trwhitebg" />
            <Columns>
                <telerik:GridBoundColumn DataField="ActivityName" HeaderText="Process Name<br/>步骤名称" SortExpression="ActivityName" UniqueName="ActivityName"
                    ShowSortIcon="false">
                    <ItemStyle Width="15%" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ActionType" HeaderText="Action<br/>操作" SortExpression="ActionType" UniqueName="ActionType"
                    ShowSortIcon="false">
                    <ItemStyle Width="10%" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="DisplayOwnerEn" HeaderText="Owner<br/>拥有人" SortExpression="DisplayOwnerEn" UniqueName="DisplayOwnerEn"
                    ShowSortIcon="false">
                    <ItemStyle Width="15%" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Comment" HeaderText="Comment<br/>意见" SortExpression="Comment" UniqueName="Comment" ShowSortIcon="false">
                    <ItemStyle Width="40%" />
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="CreatedDate" HeaderText="Created Date<br/>创建日期" SortExpression="CreatedDate" UniqueName="CreatedDate"
                    ShowSortIcon="false" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>
    <div class="ac padding5">
        <uc:VelaPager Width="97%" ID="ucPager" ParentGridID="rgLog" Skin="Vela" runat="server" OnNeedDataSource="ucPager_OnNeedDataSource" />
        <asp:Button runat="server" ID="btnCancel" Text="Close" CssClass="btn" OnClientClick="window.opener=null;window.close(); return false;"
            UseSubmitBehavior="false" />
    </div>
    </form>
</body>
</html>